package cn.fivestars.springcloud.stream.kafka;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.messaging.SubscribableChannel;

/**
 * @author liangchenzhou1024@163.com
 * @date 2021/3/16
 */
public interface InputBinder {
    /**
     * NAME
     */
    String NAME = "example-topic";

    /**
     * Input subscribable channel
     *
     * @return the subscribable channel
     */
    @Input(NAME)
    SubscribableChannel input();
}
